Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation assistant distributed test rework and migration #60

Merged

Conversation

davidcr01
Copy link
Contributor

Description

Related: #20

The aim of this PR is to add the Installation assistant distributed installation workflow, which is a rework of the old Test_unattended_distributed workflow.

The aim of the workflow is to test a distributed installation using the Installation assistant. The deployed infrastructure is the following:

  • Instance A with an indexer and manager node (master node).
  • Instance B with an indexer and manager node (worker node).
  • Instance C with an indexer, manager node (worker node), and dashboard.

Thus, this test validates a Wazuh distributed deployment (including a Wazuh indexer and Wazuh manager cluster) using the assistant.

Because of the matrix strategy, the pipeline includes a "tier" option, which allows it to launch a job per selected system. The workflow can be called selecting multiple OSs.

✔️ CentOS_8, CentOS_7, Ubuntu_22 and RHEL_8 test: https://github.com/wazuh/wazuh-installation-assistant/actions/runs/10881208924

✔️ The inventory compression and upload were also tested here: https://github.com/wazuh/wazuh-installation-assistant/actions/runs/10881795057

Also, a README.md file was created to explain the workflow functionality.

Warning

Some tests may fail because of the following PR: wazuh/wazuh#25598. This PR fixes an error related to the Wazuh manager database.

Note

The provision and deletion of the Allocator instance is parallelized, in order to agilize these operations.

@davidcr01 davidcr01 requested a review from a team September 16, 2024 15:20
@davidcr01 davidcr01 self-assigned this Sep 16, 2024
@davidcr01 davidcr01 linked an issue Sep 16, 2024 that may be closed by this pull request
8 tasks
CarlosALgit
CarlosALgit previously approved these changes Sep 17, 2024
@davidcr01 davidcr01 force-pushed the enhancement/20-rework-distributed-workflow-development branch from 8822b74 to 2b0dacd Compare September 17, 2024 12:19
teddytpc1
teddytpc1 previously approved these changes Sep 17, 2024
@c-bordon c-bordon merged commit 8c4d2a9 into 4.10.0 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate the Installation assistant test pipelines to GHA
4 participants